﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Apps.Models.HuaChan
{
    public class HUACHAN_PROJECT_FIELDS
    {
        [SugarColumn(IsPrimaryKey = true)]
        public string ID { get; set; }

        /// <summary>
        /// 字段名称
        /// </summary>
        public string FIELDNAME { get; set; }

        /// <summary>
        /// 字段类型 文本 数值 时间
        /// </summary>
        public string FIELDTYPE { get; set; }

        /// <summary>
        /// 是否必填
        /// </summary>
        public string REQUIRED { get; set; }

        /// <summary>
        /// 最大值
        /// </summary>
        public decimal MAX { get; set; }

        /// <summary>
        /// 最小值
        /// </summary>
        public decimal MIN { get; set; }

        /// <summary>
        /// 基值
        /// </summary>
        public decimal BASEVAL { get; set; }

        /// <summary>
        /// 所在数据列索引
        /// </summary>
        public int COLUMNIDX { get; set; }

        /// <summary>
        /// 保留几位有效数字
        /// </summary>
        public string KEEPPOINT { get; set; }

        /// <summary>
        /// 项目编号
        /// </summary>

        public string PROJECTID { get; set; }

        /// <summary>
        /// 排序
        /// </summary>

        public string SORT { get; set; }

        [SugarColumn(IsIgnore = true)]
        public string vaule { get; set; }

        
    }
}
